package com.budwk.app.sqfw.models;

import com.budwk.starter.common.openapi.annotation.ApiModel;
import com.budwk.starter.common.openapi.annotation.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import org.nutz.dao.entity.annotation.*;
import org.nutz.dao.interceptor.annotation.PrevInsert;

import java.io.Serializable;
import java.util.Date;

/**
 * @title: Sqfw_completeflow
 * @Author Tan
 * @Date: 2023/6/1 17:20
 * @Version 1.0
 */

@Data
@Accessors(chain = true)
@Table("shequ.sqfw_completeflow")
@Comment("完结流程")
@ApiModel(description = "完结流程")
public class Sqfw_completeflow implements Serializable {

    private static final long serialVersionUID = 1L;
    @Column
    @Name
    @Comment("编号")
    @ApiModelProperty(description = "ID")
    @ColDefine(type = ColType.VARCHAR, width = 32)
    @PrevInsert(uu32 = true)
    private String id;

    @Column("sqfw_id")
    @Comment("服务id")
    @ApiModelProperty(description = "服务id")
    @ColDefine(type = ColType.VARCHAR, width = 120)
    private String sqfwId;

    @Column("worker_id")
    @Comment("工单id")
    @ApiModelProperty(description = "工单id")
    @ColDefine(type = ColType.VARCHAR, width = 120)
    private String workerId;

    @Column("file_type")
    @Comment("文件类型")
    @ApiModelProperty(description = "文件类型")
    @ColDefine(type = ColType.VARCHAR, width = 120)
    private String fileType;

    @Column("create_date")
    @Comment("创建时间")
    @ApiModelProperty(description = "创建时间")
    @ColDefine(type = ColType.TIMESTAMP, width = 120)
    private Date createDate;

    @Column("resource_path")
    @Comment("资源路径")
    @ApiModelProperty(description = "资源路径")
    @ColDefine(type = ColType.VARCHAR, width = 120)
    private String resourcePath;

    @Column("position")
    @Comment("位置")
    @ApiModelProperty(description = "位置")
    @ColDefine(type = ColType.VARCHAR, width = 120)
    private String position;

    @Column("remark")
    @Comment("描述")
    @ApiModelProperty(description = "描述")
    @ColDefine(type = ColType.VARCHAR, width = 255)
    private String remark;

    @Column("phone")
    @Comment("电话")
    @ApiModelProperty(description = "电话")
    @ColDefine(type = ColType.VARCHAR, width = 120)
    private String phone;

    @Column("user_id")
    @Comment("用户id")
    @ApiModelProperty(description = "用户id")
    @ColDefine(type = ColType.VARCHAR, width = 120)
    private String userId;

    @Column("user_name")
    @Comment("用户名")
    @ApiModelProperty(description = "用户名")
    @ColDefine(type = ColType.VARCHAR, width = 120)
    private String userName;

    @Column("text")
    @Comment("文本")
    @ApiModelProperty(description = "文本")
    @ColDefine(type = ColType.VARCHAR, width = 255)
    private String text;


    @Column("title")
    @Comment("标题")
    @ApiModelProperty(description = "文本")
    @ColDefine(type = ColType.VARCHAR, width = 255)
    private String title;

    @ApiModelProperty(description = "url详细地址")
    private String resourceDetailUrl;
    @ApiModelProperty(description = "word地址")
    private String wordUrl;
}
